package com.xbongbong.pro.statistic.service;

import com.xbongbong.pro.domain.entity.BiDataCorrEntity;
import com.xbongbong.pro.domain.entity.BiProWareEntity;
import com.xbongbong.pro.domain.entity.ChartEntity;

import java.util.List;

/**
 * 数据仓库service
 * @author 梁鲁江
 * @version v1.0
 * @date 2020/5/14 14:52
 * @since v1.0
 */
public interface BiProWareService {
    /**
     * 获取数据仓库
     * @param chartEntity   图表实体
     * @return
     */
    List<BiProWareEntity> getBiProWareEntities(ChartEntity chartEntity);

    /**
     * 获取数据仓库
     * @param corpid
     * @param tableSerial
     * @return
     */
    List<BiProWareEntity> getBiProWareEntities(String corpid, String tableSerial);

    /**
     * 关联表序列化信息
     * @param chartEntity
     * @return
     */
    String getTableSerial(ChartEntity chartEntity);

    /**
     * 关联表序列化信息
     * @param allCorrelationList
     * @param chartEntity
     * @return
     */
    String getTableSerial(List<BiDataCorrEntity> allCorrelationList, ChartEntity chartEntity);
}
